# -*- coding utf-8 -*-
"""
作者: 
日期: 年月日
"""
import requests
response = requests.post("http://localhost:5000/llm_stream",data={"query":"toothpaste"}, stream=True)

for chunk in response.iter_content(chunk_size=1024, decode_unicode=True):
    print(chunk)